home *** CD-ROM | disk | FTP | other *** search
- ---------------------------------------
- Kawa : Questions and Answers (1/10/97)
- Kawa 1.5
- email : kawa@fni.net
- web : http://www.fni.net/kawa/
- --------------------------------------
-
- Go online at
- Kawa 1.0 features : http://www.fni.net/kawa/support.htm
- Kawa 1.5 features : http://www.fni.net/kawa/support15.htm
-
- - - - - - - - - - - - - - - - -
-
- - How do I install Kawa ?
- - Where do I start with Kawa ?
- - Nothing happens when I try to compile my files....
- - I have a lot of compilation errors. How do I go back to the source file ?
- - How do I rebuild the entire project ?
- - I am developing an Java application, do I need to open a Dos session run the Java interpreter.
- - When I press the F1 key, I do not see any help file displayed
- - I have a lot of compilation errors. How do I go back to the source file ?
- - About DOS/Unix File conversion ?
- - How do I run the Appletviewer with my Applet ?
- - How do I stop my Applet now that everything is redirected to the Output Window ?
- - How do I work with the GUI debugger
- - I think I found a bug in Kawa. Where do I send my bug report ?
- - Known bugs list (Updated - 10/5/96)
- - How do I order Kawa ?
-
- - - - - - - - - - - - - - - - -
-
- O How do I install Kawa ?
-
- Download Kawa from our Web site.
-
- If you are a first Kawa user, or if you do not have kawa installed on your machine, download the entire
- package (Kawaset.exe) This is a self-extractible file. You do not need special tool like WinZip utility to
- uncompress the file. Select an empty directory and download the file. Then using your favorite File Manager,
- run Kawaset.exe. This will uncompress the file and will create 4 files (Kawa.exe, mfc40.dll, msvcrt40.dll,
- readme.txt) in a directory of your choice.
-
- If you have already Kawa installed on your machine. Reinstalled Kawa by downloading just the executable
- (but compressed) file kawacore. Overwrite the old kawa.exe with the new one.
-
- The installation process is finished. You can run Kawa.exe to execute Kawa !!! We do not modify your
- environment at all (Autoexec.bat, Config.sys, ...)
-
- O Where do I start with Kawa ?
-
- A1. Make sure that your Java Developer Kit (JDK) from SUN is well setup. You should be able to compile and
- run your Java applets and/or applications correctly from the DOS command prompt, just by using SUN Java
- development tools. (See how to setup the JDK). Kawa is using your working environment to run smoothly.
-
- A2. If you want to compile one file. Just Open the source file using the File->Open menu. Then, Compile your file
- using the toolbar button, or the menu (F7) or using the right button of your mouse. The output debug window
- will display any errors...
-
- A3. If you have already a bunch of files, create a new project, and insert your java source files. They must be all
- in the same directory. You can compile the opened source files or you can rebuild the entire project. The ouput
- debug window will display any errors...
-
- O How do I rebuild the entire project ?
-
- A. First, select first your main file (this is the file which contains the main() or init() method) with your mouse.
- Click right button on select "Main Class". The icon will change shape.
-
- Before After
-
- O Nothing happens when I try to compile my files....
-
- A. First make sure that you have in your PATH environment, the java tools directory and in your CLASSPATH
- variable you have the current Java classes directory and the also the current directory. It should look like :
-
- PATH = ...;C:;
-
- CLASSPATH = .;C:;
-
- In you need more information, check out JavaSoft Site to properly setup your JDK.
-
- Each new compilation should open the output debug window...
-
- O I am developing an Java application, do I need to open a Dos session run the Java interpreter.
-
- A. NO !!! Just press the run button on the toolbar . If you have selected you main file (see Question 2), Kawa will
- run the Java application for you.
-
- O When I press the F1 key, I do not see any help file displayed
-
- A. Make sure you have downloaded and Installed the Java documentation in Windows Help Format from the
- dippybird site. Bill Bercik did an excellent job by converting the JavaTM documentation. We integrated the
- Help documentation in Kawa.
-
- Go to Options - > Help Setup.... menu and enter (or browse) the location of your API Help file (Api.Hlp)
- documentation. By default, it should be :
-
- C: Files.hlp
-
- O I have a lot of compilation errors. How do I go back to the source file ?
-
- A. Simple as a (double) click. Just double click on the compilation error message. Kawa will bring you back in
- your source file where the error is located.
-
- O About DOS/Unix File conversion ?
-
- A. If you open a java source file in Unix format, Kawa wil display its content correctly in a window editor. If you
- save this file, by default you will save it in Unix format. You can save it in Dos format if you choose the FILE ->
- SAVE AS option. You can check or uncheck the UNIX FORMAT option.
-
- O How do I run the Appletviewer with my Applet ?
-
- A. Insert your HTML file in the project window. Select this file with the right button by choosing the MAIN HTML
- option. Now you have configured your project to run automatically AppletViewer. Go to the toolbar and click
- on the RUN button. Kawa will lauch your Applet.
-
- Before After
-
- O How do I stop my Applet now that everything is redirected to the Output Window ?
-
- A. We added new Menus (Project->Stop Run) and if you are in the output window, by clicking on the right
- mouse button , you will find the same menu. This will kill your Applet or Application.
-
- O How do I work with the GUI debugger ?
-
- Start by adding some breakpoints (using the F9 key, Right button ou source file) in you source files, Kawa will
- display a red circle on the left side of the source line. Do not forget that your files must be compiled with the -g
- options (Menu Project->Compile Options) in order to debug debug them. Then run the debugger by pressing
- the F5 key or Menu Build->GUI Debug->Run or first button in the debug toolbar .
-
- When the debugger hits a breakpoint (Kawa will open your source file for you and stops at the breakpoint,
- arrow bitmap) you are able to display local variables , memory state and threads states (Toolbar button or
- Menu Build->GUI Debug->select local, memory or threads). You can also check some local variables by
- double-clicking your variable name inside your source file (GREAT!!!). You can also perform debugging
- operation like Continue (F8), Step Into (F11) or Stop (Right mouse button on debug window or Menu
- Build->GUI Debug->Exit . If you are lost in your breakpoints, Display the Breakpoints view (Menu
- Project->Breakpoints...). You can go to your source file or remove the breakpoints.
-
- We do not provide all the JDB options from SUN, but we will add them as soon as possible. But, you can enter
- debug commands (using the Menu Build->GUI Debug->Command) like if you were working on the
- JDB console. The output is redirected to the Debug Window. You can still run the JDB in a console window
- using the Menu Build->JDB Debug.
-
- O I think I found a bug in Kawa. Where do I send my bug report ?
-
- A. Send your bug report or any suggestions you have to Kawa Support (kawa@fni.net).
- Indicate on which platform (Win95 or WinNT 3.51, 4.0) you are working on...
-
- Thanks for using Kawa !!!.
-
- O Known Bugs (10/5/96)
-
- 1. Drag and drop of text in the editor is not supported yet. Please refrain from using it.
-
- 2. Kawa sometimes does not decide the right class name for setting breakpoints. This is indicated by the
- message "Error setting the breakpoint at nnn" message in the output window. The class name used for
- setting the breakpoint can be verified by checking Project/Breakpoint list dialog box. Since Kawa still does
- not parse quoted strings in the editor, having a string "... class test..." in the class body will result in Kawa
- selecting test as the class name for deciding the breakpoint. The interim solution is not to have the exact
- word "class" in a quoted string anywhere in the class body.
-
- 3. NT 3.51 users
- ctl3d32.dll provided with Kawa 1.1 does not work with this UI.
- Please rename or remove this file from your Kawa setup directory.
-
- 4. Scrollbar does not repaint the window. You may see two scrollbars
- in the editor window.
-
- O How do I order a copie of Kawa
-
- A. Read the order.txt file in
-
-
- TM Java and other Java-based names are trademarks of Sun Microsystems, Inc.
- TM DOS, Windows, Windows95 and WinNT are trademarks of Microsoft Corporation
-
- -------------------------------------
- Kawa Support (kawa@fni.net)
- ⌐ 1996, 1997 All Rights Reserved